package com.atguigu.springcloud.config;

public class RabbitMQConst {

	//常量
	public static final int SUND_PREFETCHCOUNT = 1;
	
	public static final int SUND_SIMPLE_CONCURRENTCONSUMERS = 30;
	
	public static final int SUND_SIMPLE_MAXCONCURRENTCONSUMERS = 30;

	public static final int SUND_RPC_CONCURRENTCONSUMERS = 30;

	public static final int SUND_RPC_MAXCONCURRENTCONSUMERS = 30;

	public static final int SUND_RPC_MESSAGE_TTL = 5000;

	/****************************   交换机定义      *********************************/ 
	//通用MONITOR交换机
	public static final String SUND_EXCHANGE_MONITOR = "sund.exchange.monitor";
	
	/****************************   队列定义      ***********************************/ 
	
	// SIMPLE
	public static final String SUND_QUEUE_SIMPLE_MONITOR_CORE = "sund.queue.simple.monitor.core";

	// SIMPLE
	public static final String SUND_QUEUE_RPC_SERVICE_CORE = "sund.queue.rpc.service.core";
	
	/****************************   路由key定义      *********************************/
	
	// SIMPLE
	public static final String SUND_ROUTINGKEY_SIMPLE_MONITOR_CORE = "sund.routingKey.simple.monitor.core";

	// SIMPLE
	public static final String SUND_ROUTINGKEY_RPC_SERVICE_CORE = "sund.routingKey.rpc.service.core";

	//死信
	public static final String SUND_EXCHANGE_DEAD = "sund.exchange.dead";

	//死信队列
	public static final String SUND_QUEUE_DEAD = "sund.queue.dead";

	//死信队列
	public static final String SUND_ROUTINGKEY_DEAD = "sund.routingKey.dead";

}
